/**
 * @Description:
 * @Author BPF
 * @create 2021/12/9 20:14
 */
/*公共的路由，不需要权限跳转*/
import { Lazy } from '~libs/utils/nav'

export default [
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/authorization',
    meta: {
      cache: false,
      title: '授权'
    },
    component: () => Lazy(import('/src/views/authorization'))
  },
  {
    path: '/home',
    meta: {
      title: '健康档案首页',
      permanentCache: true // 永久缓存
    },
    component: () => Lazy(() => import('/src/views/home'))
  }
  // {
  //   path: '/test',
  //   meta: {
  //     cache: true,
  //     title: '测试页面'
  //   }
  //   // component: () => Lazy(() => import('@/views/test'))
  // }
]
